import { request } from '@umijs/max';

export interface PackItem {
  id: number;
  batch: string;
  principal: string;
  place: string;
  quantity: number;
  date: string;
}

export const packList = async () => {
  return request('/api/pack');
};
